package com.jd.tuning.jvm.threadpool;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ExecutorTest {

    public static void main(String[] args) {
        ExecutorService pool= Executors.newFixedThreadPool(1);
        pool.execute(new Runnable() {
            @Override
            public void run() {
                System.out.println("aa");
            }
        });
       pool= Executors.newSingleThreadExecutor();
    }


}
